{"version":3,"sources":["core_webrtc.js"],"names":["window","BX","webrtc","this","debug","audioMuted","videoMuted","enabled","detectedBrowser","pcConfig","oneway","lastUserMediaParams","pcConstraints","sdpConstraints","mandatory","OfferToReceiveAudio","OfferToReceiveVideo","defaultMicrophone","defaultCamera","defaultSpeaker","enableMicAutoParameters","useFallbackConstraints","configVideo","aspectRatio","configVideoGroup","configVideoMobile","configVideoAfterError","callStreamSelf","callStreamMain","callStreamUsers","pc","pcStart","connected","iceCandidates","initiator","callUserId","callChatId","callToGroup","callGroupUsers","callInit","callInitUserId","callActive","callVideo","callRequestUserMedia","needPeerConnection","createAnswerTimeout","initPeerConnectionTimeout","iceCandidateTimeout","pcConnectTimeout","init","setTurnServer","inheritWebrtc","child","prototype","Object","create","constructor","parent","navigator","mediaDevices","getUserMedia","userAgent","substr","indexOf","appVersion","attachMediaStream","element","stream","srcObject","type","isNotEmptyString","setSinkId","log","ready","params","turnServer","turnServerFirefox","turnServerLogin","turnServerPassword","iceServers","url","credential","username","optional","DtlsSrtpKeyAgreement","toggleAudio","changeVariable","getAudioTracks","length","i","toggleVideo","getVideoTracks","signalingReady","PULL","getPullServerStatus","text","desktop","arguments","JSON","stringify","e","message","console","startGetUserMedia","video","audio","onUserMediaSuccess","deviceId","ideal","echoCancellation","googEchoCancellation","googEchoCancellation2","googDAEchoCancellation","googAutoGainControl","googAutoGainControl2","mozAutoGainControl","googNoiseSuppression","googNoiseSuppression2","googHighpassFilter","googTypingNoiseDetection","googAudioMirroring","constraints","then","delegate","onUserMediaError","getTracks","forEach","track","mediaStreamTrackToString","bind","stopMediaStream","userId","clearTimeout","initPeerConnection","error","createPeerConnection","setTimeout","sendOfferToPeer","setLocalAndSend","desc","setLocalDescription","a","onRemoteStreamAdded","event","setMainVideo","onRemoteStreamRemoved","onIceCandidate","candidates","onIceConnectionStateChange","onSignalingStateChange","peerConnectionError","peerConnectionReconnect","iceConnectionState","signalingState","close","deleteEvents","hasOwnProperty","mergeConstraints","cons1","cons2","merged","name","concat","MozDontOfferDataChannel","prop","createOffer","RTCPeerConnection","onicecandidate","onIceCandidateEvent","onaddstream","onRemoteStreamAddedEvent","onremovestream","onRemoteStreamRemovedEvent","oniceconnectionstatechange","onIceConnectionStateChangeEvent","onsignalingstatechange","onSignalingStateChangeEvent","addStream","signalingPeerData","peerData","signal","parse","createAnswer","setRemoteDescription","RTCSessionDescription","candidate","RTCIceCandidate","sdpMLineIndex","label","addIceCandidate","push","id","sdpMid","setDefaultCamera","setDefaultMicrophone","logDevices","self","enumerateDevices","devices","device","result","key","isFunction","mediaStream","MediaStream","stop"],"mappings":"CAMC,SAAWA,GAEX,GAAIA,EAAOC,GAAGC,OAAQ,OAEtB,IAAID,EAAKD,EAAOC,GAGhBA,EAAGC,OAAS,WAEXC,KAAKC,MAAQ,MACbD,KAAKE,WAAa,MAClBF,KAAKG,WAAa,MAClBH,KAAKI,QAAU,MACfJ,KAAKK,gBAAkB,OACvBL,KAAKM,YACLN,KAAKO,OAAS,MACdP,KAAKQ,uBACLR,KAAKS,iBACLT,KAAKU,gBAAkBC,WAAeC,oBAAsB,KAAMC,oBAAsB,OACxFb,KAAKc,kBAAoB,KACzBd,KAAKe,cAAgB,KACrBf,KAAKgB,eAAiB,KACtBhB,KAAKiB,wBAA0B,KAC/BjB,KAAKkB,uBAAyB,MAE9BlB,KAAKmB,aACJC,YAAa,cAEdpB,KAAKqB,iBAAmBrB,KAAKmB,YAC7BnB,KAAKsB,kBAAoBtB,KAAKmB,YAC9BnB,KAAKuB,yBAELvB,KAAKwB,eAAiB,KACtBxB,KAAKyB,eAAiB,KACtBzB,KAAK0B,mBAEL1B,KAAK2B,MACL3B,KAAK4B,WACL5B,KAAK6B,aAEL7B,KAAK8B,iBAEL9B,KAAK+B,UAAY,MACjB/B,KAAKgC,WAAa,EAClBhC,KAAKiC,WAAa,EAClBjC,KAAKkC,YAAc,MACnBlC,KAAKmC,kBACLnC,KAAKoC,SAAW,MAChBpC,KAAKqC,eAAiB,EACtBrC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